/**
 * 使用babel, 使node.js支持es6及jsx的全部特性
 */
require('dotenv').config();

require("babel-register")({
    presets: ["env", 'es2015', 'react', 'stage-0']
});
require('babel-core').transform('code', {
    plugins: ['dynamic-import-node']
});

require('./server/server');